package com.owc.service.admin;

import com.owc.domain.dto.UserInfo;
import com.owc.domain.entity.AdminUser;
import com.owc.domain.vo.admin.AdminLoginVo;

import java.util.Optional;

public interface AdminService {

    String login(AdminLoginVo adminLoginVo);

    Optional<AdminUser> selectByUserName(String userName);

    UserInfo getUserInfo();
}
